/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.supplment;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.dao.supplment.TSupplmentMemberDao;
import com.server.modules.sys.entity.supplment.TSupplmentMember;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 已推送消息用户记录Service
 * @author 金小敏
 * @version 2017-03-09
 */
@Service
@Transactional(readOnly = true)
public class TSupplmentMemberService extends CrudService<TSupplmentMemberDao, TSupplmentMember> {

	public TSupplmentMember get(String id) {
		return super.get(id);
	}
	
	public List<TSupplmentMember> findList(TSupplmentMember tSupplmentMember) {
		return super.findList(tSupplmentMember);
	}
	
	public Page<TSupplmentMember> findPage(Page<TSupplmentMember> page, TSupplmentMember tSupplmentMember) {
		return super.findPage(page, tSupplmentMember);
	}
	
	@Transactional(readOnly = false)
	public void save(TSupplmentMember tSupplmentMember) {
		super.save(tSupplmentMember);
	}
	
	@Transactional(readOnly = false)
	public void delete(TSupplmentMember tSupplmentMember) {
		super.delete(tSupplmentMember);
	}
	public List<TSupplmentMember> sendmessage() {
		return dao.sendmessage();
	}
}